package com.liuweijiaoyu.demo.util;

/**
 * Created by lt
 * Created on 2017/9/27 0027.
 */
public class MathUtils {
    /*
     * 字符串转Integer
     */
    public static int valueOfInt(String value){
        try {
            return Integer.valueOf(value);
        } catch (Exception e) {
        }
        return -1;
    }
}
